<?php

use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Jialeo\LaravelSchemaExtend\Schema;

class AddColumnSettleInShopNameToKfShopSettleInSituationTable extends Migration
{
    /**
     * Run the migrations.
     *
     * @return void
     */
    public function up()
    {
        Schema::table('kf_shop_settle_in_situation', function (Blueprint $table) {
            $table->string('settleInShopName', 120)->after('settleInCount')->default('')->comment('入驻门店名称列表');
        });
    }

    /**
     * Reverse the migrations.
     *
     * @return void
     */
    public function down()
    {
        Schema::table('shop_name_to_kf_shop_settle_in_situation', function (Blueprint $table) {
            $table->dropColumn('settleInShopName');
        });
    }
}
